package com.aomj.jsp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Hello world!
 *
 */
@SpringBootApplication
public class App extends SpringBootServletInitializer {
//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
//           return application.sources(App.class);
//    }
      
       public static void main(String[] args) {
              SpringApplication.run(App.class, args);
       }
       
       @RequestMapping("/hello")
       public String hello() {
           return "helloyyy";
       }
}